package com.example.dish.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dish_model.dto.SetmealDTO;
import com.example.dish_model.entity.Setmeal;

import java.util.List;

/**
 * <p>
 * 套餐 服务类
 * </p>
 *
 * @author sjz
 * @since 2024-06-30
 */
public interface SetmealService extends IService<Setmeal> {

    void saveSetmealWithDish(SetmealDTO setmealDTO);

    void updateStatus(int status, List<Setmeal> setmealList);

    List<Setmeal> getByIds(List<String> ids);

    SetmealDTO getSetmealWithDishById(String id);

    void updateSetmealWithDish(SetmealDTO setmealDTO);

    String removeSetmealWihtDish(List<String> ids);

    Page<SetmealDTO> getPage(long page, long pageSize, String name);
}
